package com.skypan.myapplication.fragment;

import android.content.Intent;
import android.os.Bundle;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.lidroid.xutils.view.annotation.ViewInject;
import com.lidroid.xutils.view.annotation.event.OnClick;
import com.skypan.myapplication.R;
import com.skypan.myapplication.nfc.ReadTextActivity;
import com.skypan.myapplication.widget.Contants;


public class ReadFragment extends BaseFragment {

    @ViewInject(R.id.flash_read)
    private ImageView searchminbutton;



    @Override
    public View createView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_read,container,false);
    }

    @Override
    public void init() {

    }


    @OnClick(R.id.flash_read) //跳转到产品的资料
    public void productsearch(View view) {
        Intent intent = new Intent(getContext(), ReadTextActivity.class);
        startActivityForResult(intent, Contants.REQUEST_CODE);
    }
}



